package com.shanling.shanlingcontroller.bean;

import java.util.List;

/**
 * Created by ch1 on 2019/11/28.
 */

public class MyBleDeviceListBean {
    private String tagName;
    private List<MybluetoothDevice>  mybluetoothDevices;

    public MyBleDeviceListBean(String tagName) {
        this.tagName = tagName;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public List<MybluetoothDevice> getMybluetoothDevices() {
        return mybluetoothDevices;
    }

    public void setMybluetoothDevices(List<MybluetoothDevice> mybluetoothDevices) {
        this.mybluetoothDevices = mybluetoothDevices;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        MyBleDeviceListBean that = (MyBleDeviceListBean) o;

        return tagName != null ? tagName.equals(that.tagName) : that.tagName == null;
    }

    @Override
    public int hashCode() {
        return tagName != null ? tagName.hashCode() : 0;
    }
}
